package containers

import "fmt"

var luquxianMap = make(map[string]float32)

func QueryLuquxian() {
	luquxianMap["重庆"] = 449
	luquxianMap["上海"] = 435
	luquxianMap["北京"] = 488
	luquxianMap["四川"] = 458
	luquxianMap["广东"] = 434

	var address string
	fmt.Println("请输入查询地址")
	fmt.Scanln(&address)
	fmt.Println("录取线是：", luquxianMap[address])
}

func tiantongMap() {
	luquxianMap["重庆"] = 449
	luquxianMap["上海"] = 435
	luquxianMap["北京"] = 488
	luquxianMap["四川"] = 458
	luquxianMap["广东"] = 434
}

func Tongji() {
	tiantongMap()
	for k, v := range luquxianMap {
		if v > 450 {
			fmt.Println("满足的地点是:", k)
		}
	}
}
